<?php
declare(strict_types=1);

namespace app\shop\enums\order;

use app\shop\enums\BaseEnum;

class OrderExportStatus extends BaseEnum
{
    /**
     * 等待导出
     */
    const WAITING = 0;

    /**
     * 正在导出
     */
    const RUNNING = 1;

    /**
     * 导出成功
     */
    const SUCCESS = 2;

    /**
     * 导出失败
     */
    const FAIL = 3;

    protected static array $descriptions = [
        self::WAITING => '等待导出',
        self::RUNNING => '正在导出',
        self::SUCCESS => '导出成功',
        self::FAIL    => '导出失败'
    ];
}